import React, { Component, Suspense } from 'react';
import PageHeaderWrapper from '@/components/PageHeaderWrapper';
import SiteAccess from './siteAccess';
import AppAccess from './appAccess';
import WxAccess from './wxAccess';
import { connect } from 'dva';
import PageLoading from '@/components/PageLoading';
import { FormattedMessage } from 'umi-plugin-react/locale';
import { Row, Col, Radio, Card, Icon, Tooltip, Button } from 'antd';
import styles from './index.less'; // 测试

const ButtonGroup = Button.Group;
class accessSettings extends Component {
  state = {
    size: '1',
  };

  componentDidMount() {
    const { dispatch } = this.props;
  }

  handleSizeChange = e => {
    this.setState({ size: e.target.value });
  };

  render() {
    const { robotId } = this.props;
    return (
      <div>
        <div className={styles.backgroundp}>
          <SiteAccess robotId={robotId}></SiteAccess>
        </div>
      </div>
    );
  }
}

export default accessSettings;
